package com.zhangsheng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhangsheng.entity.model.Order;

import java.util.List;

/**
* @author hp
* @description 针对表【order】的数据库操作Service
* @createDate 2023-01-10 14:33:58
*/
public interface OrderService extends IService<Order> {

    Order selectById(Integer id);

    List<Order> selectByPage(Integer pageNum, Integer pageSize);

    boolean createOrder(Order order);

    boolean closeOrder(Order order);

}
